package ui.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ui.dao.IndexMapper;
import ui.model.vo.UserInfoVo;
import ui.service.IndexService;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by qiang.yu on 2016/12/29.
 */

@Service
public class IndexServiceImpl implements IndexService {

    @Autowired
    private IndexMapper indexMapper;

    @Override
    public List<UserInfoVo> getAllUserInfo() {
        return indexMapper.getAllUserInfo();
        //return new ArrayList<UserInfoVo>();
    }
}
